package com.menhai.personmanagement.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import lombok.Builder;
import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import com.menhai.personmanagement.plus.PageRequest;
/**
 * <p>
 * 
 * </p>
 *
 * @author shikun
 * @since 2021-12-09
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("sys_user")
@Builder
public class SysUser implements Serializable {


    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("account")
    private String account;

    @TableField("password")
    private String password;

    @TableField("name")
    private String name;

    @TableField("sex")
    private String sex;

    @TableField("level")
    private String level;

    @TableField("telephone")
    private String telephone;

    @TableField("type")
    private String type;

    @TableField("isAvailable")
    private Integer isAvailable;

    @TableField("roleId")
    private Integer roleId;

    @TableField("hosnum")
    private String hosnum;

    @TableField("department")
    private String department;

}
